home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
program
/
gcc
/
gcc270-d.lha
/
gnu
/
man
/
cat3
/
atol.0
< prev
next >
Wrap
Text File
|
1992-08-10
|
898b
|
67 lines
ATOL(3) UNIX Programmer's Manual ATOL(3)
NNAAMMEE
aattooll - convert ASCII string to long integer
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttddlliibb..hh>>
_l_o_n_g
aattooll(_c_o_n_s_t _c_h_a_r _*_n_p_t_r)
DDEESSCCRRIIPPTTIIOONN
The aattooll() function converts the initial portion of the string pointed to
by _n_p_t_r to _l_o_n_g _i_n_t_e_g_e_r representation.
It is equivalent to:
strtol(nptr, (char **)NULL, 10);
SSEEEE AALLSSOO
atof(3), atoi(3), strtod(3), strtol(3), strtoul(3)
SSTTAANNDDAARRDDSS
The aattooll() function conforms to ANSI C3.1591989 (``ANSI C'').
BSD Experimental June 29, 1991 1